from twisted.application import internet
from twisted.application import service
from nevow import appserver
import web_server


application = service.Application('web_server')
site = appserver.NevowSite(web_server.Root())
webServer = internet.TCPServer(4242, site)
webServer.setServiceParent(application)
